gtk+3.0.git
8 years agoUpdate Swedish translation
Anders Jonsson [Thu, 24 Aug 2017 09:37:42 +0000 (09:37 +0000)]
Update Swedish translation

8 years agoUpdate POTFILES.in and POTFILES.skip
Piotr Drąg [Thu, 24 Aug 2017 00:45:09 +0000 (02:45 +0200)]
Update POTFILES.in and POTFILES.skip

8 years agoSidebarRow: Add Unmount tooltip to eject_button
Daniel Boles [Sat, 19 Aug 2017 16:18:35 +0000 (17:18 +0100)]
SidebarRow: Add Unmount tooltip to eject_button

It was reported that the lack of a tooltip made its purpose unclear.
This can be solved by just copying PlacesViewRow’s eject_button tooltip.

https://bugzilla.gnome.org/show_bug.cgi?id=766909

8 years agoGtkFileChooserNativeQuartz: restore parent focus after closing dialog
Tom Schoonjans [Mon, 31 Jul 2017 20:28:42 +0000 (21:28 +0100)]
GtkFileChooserNativeQuartz: restore parent focus after closing dialog

Tested for both modal and non-modal dialogs

https://bugzilla.gnome.org/show_bug.cgi?id=785306

8 years agoGtkFileChooserNativeQuartz: improve support for file filters
Tom Schoonjans [Mon, 31 Jul 2017 20:26:47 +0000 (21:26 +0100)]
GtkFileChooserNativeQuartz: improve support for file filters

Instead of using conditional compilation, use respondsToSelector to
check at runtime for setAccessoryViewDisclosed.

https://bugzilla.gnome.org/show_bug.cgi?id=785306

8 years agoGtkFileChooserNativeQuartz: add support for Mountain Lion and Mavericks
Tom Schoonjans [Sun, 23 Jul 2017 08:37:26 +0000 (09:37 +0100)]
GtkFileChooserNativeQuartz: add support for Mountain Lion and Mavericks

https://bugzilla.gnome.org/show_bug.cgi?id=784723 introduced support for
native file chooser dialogs on macOS, but due to the use of generics in
the patch, there will be compilation errors on pre-Xcode 7 platforms,
such as Mountain Lion and Mavericks.

I strongly recommend to revert this patch when the oldest supported
macOS release is bumped to Yosemite (10.10).

https://bugzilla.gnome.org/show_bug.cgi?id=785306

8 years agogdk: wayland: always set buffer scale on size update
Lionel Landwerlin [Fri, 18 Aug 2017 22:57:56 +0000 (23:57 +0100)]
gdk: wayland: always set buffer scale on size update

We're only updating this when we have an EGL window. This means we
have the wrong scaling factor when using Vulkan.

https://bugzilla.gnome.org/show_bug.cgi?id=786492

8 years agoUpdate Friulian translation
Fabio Tomat [Wed, 23 Aug 2017 12:55:53 +0000 (12:55 +0000)]
Update Friulian translation

8 years agoUpdate Italian translation
Milo Casagrande [Wed, 23 Aug 2017 07:12:14 +0000 (07:12 +0000)]
Update Italian translation

8 years agoUpdate Italian translation
Milo Casagrande [Tue, 22 Aug 2017 16:41:00 +0000 (16:41 +0000)]
Update Italian translation

8 years agogetting_started: Sync filenames & section headings
Daniel Boles [Tue, 22 Aug 2017 13:14:53 +0000 (14:14 +0100)]
getting_started: Sync filenames & section headings

The order of Examples 3 and 4 was swapped, so the headings updated
themselves, but the filenames were left reflecting the old order.

https://bugzilla.gnome.org/show_bug.cgi?id=786553

8 years ago3.22.19
Matthias Clasen [Tue, 22 Aug 2017 12:33:11 +0000 (08:33 -0400)]
3.22.19

8 years agoHandle emoji data change in emoji chooser
Matthias Clasen [Sat, 19 Aug 2017 18:05:48 +0000 (14:05 -0400)]
Handle emoji data change in emoji chooser

Update the settings schema to follow the change in Emoji data,
and make the emoji chooser code handle the new format.

8 years agoAdd shortnames to emoji data
Matthias Clasen [Sat, 19 Aug 2017 18:05:16 +0000 (14:05 -0400)]
Add shortnames to emoji data

The json file is from

https://github.com/emojione/emojione/tree/master/extras/alpha-codes

It is under the MIT license.

8 years agoDon't consume too many key releases
Matthias Clasen [Tue, 22 Aug 2017 10:41:31 +0000 (06:41 -0400)]
Don't consume too many key releases

The Emoji input support in GtkIMContextSimple was
unintentionally consuming too many key release
events. Fix this.

https://bugzilla.gnome.org/show_bug.cgi?id=786594

8 years agoUpdate Spanish translation
Daniel Mustieles [Mon, 21 Aug 2017 11:33:27 +0000 (11:33 +0000)]
Update Spanish translation

8 years agoUpdate Nepali translation
Pawan Chitrakar [Sun, 20 Aug 2017 22:44:56 +0000 (22:44 +0000)]
Update Nepali translation

8 years agoUpdate German translation
Mario Blättermann [Sun, 20 Aug 2017 14:40:07 +0000 (14:40 +0000)]
Update German translation

8 years agoUpdate German translation
Christian Kirbach [Sun, 20 Aug 2017 14:33:49 +0000 (14:33 +0000)]
Update German translation

8 years agoUpdate Nepali translation
Pawan Chitrakar [Sun, 20 Aug 2017 09:42:28 +0000 (09:42 +0000)]
Update Nepali translation

8 years agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Sat, 19 Aug 2017 17:33:57 +0000 (17:33 +0000)]
Update Kazakh translation

8 years agoUpdate French translation
Alexandre Franke [Sat, 19 Aug 2017 14:44:33 +0000 (14:44 +0000)]
Update French translation

8 years agoUpdate French translation
Alexandre Franke [Sat, 19 Aug 2017 14:41:23 +0000 (14:41 +0000)]
Update French translation

8 years agoUpdate German translation
Mario Blättermann [Sat, 19 Aug 2017 11:46:22 +0000 (11:46 +0000)]
Update German translation

8 years agoUpdate Croatian translation
gogo [Fri, 18 Aug 2017 20:38:20 +0000 (20:38 +0000)]
Update Croatian translation

8 years agoUpdate Croatian translation
gogo [Fri, 18 Aug 2017 20:36:41 +0000 (20:36 +0000)]
Update Croatian translation

8 years agogtkbutton: Avoid keyboard grabs
Carlos Garnacho [Fri, 18 Aug 2017 17:16:19 +0000 (19:16 +0200)]
gtkbutton: Avoid keyboard grabs

Seems to be there for the sole purpose of ensuring the button
shall receive the key release on keyboard-triggered activation.

For the cases where this makes sense (eg. comboboxes, menubuttons,
...) gtk+ already does ensure the menu is popup after key release.
This makes the grab pretty useless, and there's many other cases
where it doesn't make sense (eg. button being activated
programmatically from an event handler in another widget).

Fixes button activation unintendedly triggering shortcut inhibition
on wayland.

https://bugzilla.gnome.org/show_bug.cgi?id=786480

8 years agogdkwindow: Avoid re-setting the opaque region if it doesn't change
Rui Matos [Fri, 18 Aug 2017 10:01:54 +0000 (12:01 +0200)]
gdkwindow: Avoid re-setting the opaque region if it doesn't change

This avoids, at least, needless chatter with the compositor and the X
server in X11's case.

https://bugzilla.gnome.org/show_bug.cgi?id=786469

8 years agoUpdate Slovak translation
Dušan Kazik [Fri, 18 Aug 2017 16:07:04 +0000 (16:07 +0000)]
Update Slovak translation

8 years agoUpdated Czech translation
Marek Cernocky [Fri, 18 Aug 2017 08:56:19 +0000 (10:56 +0200)]
Updated Czech translation

8 years agoGDK-Win32: Fix AeroSnap on HiDPI
Chun-wei Fan [Tue, 8 Aug 2017 14:19:45 +0000 (22:19 +0800)]
GDK-Win32: Fix AeroSnap on HiDPI

Commit 1d0fad3 revealed that there were some assumptions made that were
actually to compensate for the bug fixed by that commit, so we need to
remove those assumptions as they would result in AerSnap to not work
properly on HiDPI screens.

Also re-do how we set the x and y positions of our GdkWindow, so that we
are more consistent across the board when we go between a GDK window
coordinate and a Windows API window cooredinate.

This would also simplify the code a bit.

https://bugzilla.gnome.org/show_bug.cgi?id=785999

8 years agogdk/x11: Extract GdkDeviceTool tool ID from "Wacom Serial IDs" property
Carlos Garnacho [Thu, 17 Aug 2017 12:07:12 +0000 (14:07 +0200)]
gdk/x11: Extract GdkDeviceTool tool ID from "Wacom Serial IDs" property

This property contains 5 integers, of which the last 2 respectively
contain the tool serial number and tool ID. We were only extracting the
first so far, but GdkDeviceTool also has API getters for the latter,
which remained 0.

https://bugzilla.gnome.org/show_bug.cgi?id=786400

8 years agoUpdate Galician translation
Fran Dieguez [Wed, 16 Aug 2017 22:46:55 +0000 (22:46 +0000)]
Update Galician translation

8 years agoGdkDisplay: Call the correct push|pop_error_trap()
Daniel Boles [Tue, 15 Aug 2017 18:29:22 +0000 (19:29 +0100)]
GdkDisplay: Call the correct push|pop_error_trap()

It is wrong to assume all Displays are of the same class as the default.

https://bugzilla.gnome.org/show_bug.cgi?id=784016

8 years agoScrolledWindow: Bin unreachable ternary branches
Daniel Boles [Tue, 15 Aug 2017 14:15:08 +0000 (15:15 +0100)]
ScrolledWindow: Bin unreachable ternary branches

We already checked that the child is not NULL above.

Coverity CID 1454191

8 years agoWidget: Fix outdated comments about tooltips
Daniel Boles [Tue, 15 Aug 2017 01:11:19 +0000 (02:11 +0100)]
Widget: Fix outdated comments about tooltips

They are not usually yellow anymore, the previous advice about how to
style them was for pre-3.20 versions, and the immediate replacement (CSS
class .tooltip) does not seem ready for primetime.

https://bugzilla.gnome.org/show_bug.cgi?id=784421

8 years agogtk/gtkemojichooser.c: Don't use g_autoptr()
Chun-wei Fan [Tue, 15 Aug 2017 02:43:01 +0000 (10:43 +0800)]
gtk/gtkemojichooser.c: Don't use g_autoptr()

We can't use g_autoptr() on non-GCC-style compilers.

https://bugzilla.gnome.org/show_bug.cgi?id=773299

8 years agoUpdated Lithuanian translation
Aurimas Černius [Tue, 15 Aug 2017 13:48:49 +0000 (16:48 +0300)]
Updated Lithuanian translation

8 years agoRemove an erroneous unref
Matthias Clasen [Tue, 15 Aug 2017 10:40:05 +0000 (06:40 -0400)]
Remove an erroneous unref

This was leftover by accident.

8 years agoRedo emoji data slightly
Matthias Clasen [Sun, 13 Aug 2017 19:16:11 +0000 (15:16 -0400)]
Redo emoji data slightly

No longer store variation sequences explicitly. Instead, put a 0
in the sequence where the modifiers will be inserted. This is more
compact, and it allows us to put variations directly into the
recent section. Update the type of the recent-emoji setting to
match these changes.

8 years agoDon't update headings in an idle
Matthias Clasen [Sun, 13 Aug 2017 13:27:37 +0000 (09:27 -0400)]
Don't update headings in an idle

It is not necessary since flow box invalidation is
all synchronous currently. If that ever changes,
this code will need adjustment.

8 years agotestpopover: Sync initial vals of controls & props
Daniel Boles [Mon, 14 Aug 2017 22:10:59 +0000 (23:10 +0100)]
testpopover: Sync initial vals of controls & props

The ComboBoxes were initially empty, rather than reflecting the initial
values of the properties. The CheckButtons were only correct by chance.
Fix this by setting the initial values on the widgets and binding them
to the properties using SYNC_CREATE, so the two are always synced up.

https://bugzilla.gnome.org/show_bug.cgi?id=786209

8 years agoconfigure: Add missing quotes to unbreak an AS_IF
Hannes Müller [Mon, 14 Aug 2017 17:17:17 +0000 (19:17 +0200)]
configure: Add missing quotes to unbreak an AS_IF

Without quoting, the comma in AC_MSG_ERROR was wrongly interpreted as
separating the if and else paths.

https://bugzilla.gnome.org/show_bug.cgi?id=786287

8 years agoUpdate Spanish translation
Daniel Mustieles [Mon, 14 Aug 2017 16:04:33 +0000 (16:04 +0000)]
Update Spanish translation

8 years agoUpdate Galician translation
Fran Dieguez [Sun, 13 Aug 2017 22:20:29 +0000 (22:20 +0000)]
Update Galician translation

8 years agoUpdate Turkish translation
Muhammet Kara [Sun, 13 Aug 2017 16:34:57 +0000 (16:34 +0000)]
Update Turkish translation

8 years agoemoji: Fix a leak
Matthias Clasen [Sun, 13 Aug 2017 11:49:57 +0000 (07:49 -0400)]
emoji: Fix a leak

We were leaking the list of recently used Emoji here.
Pointed out by Timm Bädert.

8 years agoemoji: Start search on the first character
Matthias Clasen [Sun, 13 Aug 2017 11:49:13 +0000 (07:49 -0400)]
emoji: Start search on the first character

There is no need to wait for a longer prefix here.
We already display all the content anyway, it will
only get less.

8 years agoDrop a redundant helper
Matthias Clasen [Sat, 12 Aug 2017 00:13:03 +0000 (20:13 -0400)]
Drop a redundant helper

We already had a function that does exactly what
is needed here.

8 years agoRemove an unused field
Matthias Clasen [Fri, 11 Aug 2017 23:52:29 +0000 (19:52 -0400)]
Remove an unused field

Nothing uses bubble_window, so it can go.

8 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Sat, 12 Aug 2017 22:55:14 +0000 (22:55 +0000)]
Update Brazilian Portuguese translation

8 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Sat, 12 Aug 2017 22:41:32 +0000 (22:41 +0000)]
Update Brazilian Portuguese translation

8 years agoInfoBar: Fix wrong/uninit var use in code example
Daniel Boles [Sat, 12 Aug 2017 20:07:22 +0000 (21:07 +0100)]
InfoBar: Fix wrong/uninit var use in code example

https://bugzilla.gnome.org/show_bug.cgi?id=786144

8 years agoUpdated Serbian translation
Мирослав Николић [Sat, 12 Aug 2017 18:03:28 +0000 (20:03 +0200)]
Updated Serbian translation

8 years agoUpdated Serbian translation
Мирослав Николић [Sat, 12 Aug 2017 18:02:20 +0000 (20:02 +0200)]
Updated Serbian translation

8 years agoAdwaita: Sync CSS files with current SASS
Daniel Boles [Sat, 12 Aug 2017 14:49:07 +0000 (15:49 +0100)]
Adwaita: Sync CSS files with current SASS

A recent commit for emoji also updated seemingly unrelated parts of the
generated CSS files, presumably due to other things that changed in
master. The CSS files should be kept in sync with their SASS sources.

8 years agoLevelBar: Avoid unnecessarily copying allocation
Daniel Boles [Sat, 12 Aug 2017 13:09:09 +0000 (14:09 +0100)]
LevelBar: Avoid unnecessarily copying allocation

Just use the original allocation, instead of copying it and passing that

8 years agoUpdate Indonesian translation
Andika Triwidada [Sat, 12 Aug 2017 13:15:04 +0000 (13:15 +0000)]
Update Indonesian translation

8 years agoUpdate Indonesian translation
Andika Triwidada [Sat, 12 Aug 2017 13:13:04 +0000 (13:13 +0000)]
Update Indonesian translation

8 years agoconvert-emoji: Add missing braces
Daniel Boles [Sat, 12 Aug 2017 13:06:09 +0000 (14:06 +0100)]
convert-emoji: Add missing braces

8 years agoconvert-emoji: Don’t pointlessly do rest of loop
Daniel Boles [Sat, 12 Aug 2017 13:00:40 +0000 (14:00 +0100)]
convert-emoji: Don’t pointlessly do rest of loop

skip can never become FALSE again, so break as soon as it becomes TRUE.

8 years agoUpdate Polish translation
Piotr Drąg [Fri, 11 Aug 2017 20:27:40 +0000 (22:27 +0200)]
Update Polish translation

8 years agoemojichooser: Add context to the Objects category string
Piotr Drąg [Fri, 11 Aug 2017 20:18:50 +0000 (22:18 +0200)]
emojichooser: Add context to the Objects category string

To disambiguate it from Objects in the Inspector.

8 years agoUpdate POTFILES.skip
Piotr Drąg [Fri, 11 Aug 2017 19:55:24 +0000 (21:55 +0200)]
Update POTFILES.skip

8 years agowidget-factory: Add a use of show-emoji-icon
Matthias Clasen [Fri, 11 Aug 2017 16:25:35 +0000 (12:25 -0400)]
widget-factory: Add a use of show-emoji-icon

This also adds a testcase for nested popovers that was
missing in widget-factory so far.

8 years agoentry: Add support for an Emoji chooser
Matthias Clasen [Fri, 11 Aug 2017 16:05:24 +0000 (12:05 -0400)]
entry: Add support for an Emoji chooser

Add an "Insert Emoji" item to the context menu in entries.
We also add a show-emoji-icon property, which when set to
TRUE, will add an icon that can be clicked to bring up
the Emoji chooser.

8 years agoFix a problem with focus handling in modal popovers
Matthias Clasen [Fri, 11 Aug 2017 16:03:54 +0000 (12:03 -0400)]
Fix a problem with focus handling in modal popovers

When the popover is dismissed, we return the focus to
where it came from. However, by using gtk_widget_grab_focus,
we were messing up the selection if that widget happens to
be an entry. Special-case GtkEntry and use
gtk_entry_grab_focus_without_selecting to avoid this issue.

8 years agoAdd an Emoji chooser widget
Matthias Clasen [Fri, 11 Aug 2017 15:54:15 +0000 (11:54 -0400)]
Add an Emoji chooser widget

Add a popover that shows color Emoji, with a search entry.
The recently-used Emoji are stored in a GSetting.

8 years agoAdd Emoji data
Matthias Clasen [Fri, 11 Aug 2017 15:47:02 +0000 (11:47 -0400)]
Add Emoji data

The json file is imported from the (MIT-licensed) emoji.json[0] node
module, which generates it from the emoji list published by the
Unicode Consortium.

This commit also adds a little tool to convert the data into
a compact GVariant, and the result of that conversion, which is
added to libgtk as a resource. The following commits will make use
of it.

[0] https://github.com/amio/emoji.json

8 years agoUpdate Polish translation
Piotr Drąg [Thu, 10 Aug 2017 22:09:45 +0000 (00:09 +0200)]
Update Polish translation

8 years agoUpdate Galician translation
Fran Dieguez [Thu, 10 Aug 2017 13:55:33 +0000 (13:55 +0000)]
Update Galician translation

8 years agoUpdate Galician translation
Fran Dieguez [Thu, 10 Aug 2017 09:52:33 +0000 (09:52 +0000)]
Update Galician translation

8 years agoUpdate Friulian translation
Fabio Tomat [Wed, 9 Aug 2017 12:52:10 +0000 (12:52 +0000)]
Update Friulian translation

8 years agoDuplicate the TIC strings before NULLing the GObject data.
John Ralls [Tue, 8 Aug 2017 20:15:46 +0000 (23:15 +0300)]
Duplicate the TIC strings before NULLing the GObject data.

NULLing the data strings in GObject frees and invalidates the pointers
returned by g_object_get_data so we need our own copy of the values.

8 years agoRevert "levelbar: Don't underallocate block widgets"
Daniel Boles [Tue, 8 Aug 2017 17:55:30 +0000 (18:55 +0100)]
Revert "levelbar: Don't underallocate block widgets"

This reverts commit 78b4885fe8850e132d8bb06df8ab90ac6c2033e0.

That commit causes a block always to be shown at the min side, even when
the value is 0, in which case, no fill should be shown.

https://bugzilla.gnome.org/show_bug.cgi?id=783649

8 years agogtk/gtkfilechoosernativewin32.c: Declare variables at top-of-block
Chun-wei Fan [Tue, 8 Aug 2017 09:13:34 +0000 (17:13 +0800)]
gtk/gtkfilechoosernativewin32.c: Declare variables at top-of-block

Since GTK+-3.22.x is not advertised to use C99, make sure that the build
works on pre-C99 compilers such as pre-2013 Visual Studio.

8 years agoAvoid the use of g_autofree
Matthias Clasen [Mon, 24 Jul 2017 17:24:33 +0000 (13:24 -0400)]
Avoid the use of g_autofree

We can't use this in code that may be built on win32,
so lets just not use it at all.

8 years ago3.22.18
Matthias Clasen [Mon, 7 Aug 2017 19:43:44 +0000 (15:43 -0400)]
3.22.18

8 years agoLayout: Fix documentation on getting the GdkWindow
Daniel Boles [Mon, 7 Aug 2017 22:56:49 +0000 (23:56 +0100)]
Layout: Fix documentation on getting the GdkWindow

Members are not public like they used to be, so accessors must be used.

8 years agoRevert "Widget: Remove obsolete hack-arounds for HandleBox"
Daniel Boles [Mon, 7 Aug 2017 18:38:12 +0000 (19:38 +0100)]
Revert "Widget: Remove obsolete hack-arounds for HandleBox"

This reverts commit 12805a4fbfa66b10efbe48c03595b0d5b7608d0e.

I must have been looking at the wrong tree because HandleBox is only
deprecated in GTK+ 3, not removed.

8 years agoContainer: Don’t scroll to unset focus child coord
Daniel Boles [Mon, 7 Aug 2017 17:43:31 +0000 (18:43 +0100)]
Container: Don’t scroll to unset focus child coord

In gtk_container_real_set_focus_child(), we try to scroll to the
position of the new :focus-child if we have h or v adjustments.

gtk_widget_translate_coordinates() returns FALSE if neither widget is
realized or in other situations that cause output parameters x and y not
to be set. Thus, if the caller did not initialise x/y and uses them even
if the function returns FALSE, they are using uninitialised variables.

In gtk_container_real_set_focus_child(), we did not check the return
value but merrily went ahead and used x and y regardless. This is UB, as
caught by Valgrind, as well as being pointless.

The trivial fix is to exit early if (!gtk_widget_translate_coordinates).

https://bugzilla.gnome.org/show_bug.cgi?id=776909

8 years agoWidget: Remove obsolete hack-arounds for HandleBox
Daniel Boles [Mon, 7 Aug 2017 15:54:20 +0000 (16:54 +0100)]
Widget: Remove obsolete hack-arounds for HandleBox

It is long gone. The commit c9d9db0fcc8f29ab014c1e0b4b0b4f269f22f99c
identified these as ugly-but-functional workarounds for it, only.

https://bugzilla.gnome.org/show_bug.cgi?id=776909

8 years agomain: Set the error if gtk_init_with_args fails
Debarshi Ray [Fri, 21 Jul 2017 15:48:53 +0000 (17:48 +0200)]
main: Set the error if gtk_init_with_args fails

This fixes a fallout from 8a7d0ab481345708 where the error wasn't being
set when a display couldn't be opened right after parsing the
commandline.

It also fixes an older bug where the error would be left unset if the
commandline had already been parsed before (ie. when gtk_initialized
is TRUE).

https://bugzilla.gnome.org/show_bug.cgi?id=771959

8 years agodocs: gtk_init_with_args will also fail if the commandline was invalid
Debarshi Ray [Fri, 21 Jul 2017 15:29:01 +0000 (17:29 +0200)]
docs: gtk_init_with_args will also fail if the commandline was invalid

Be more explicit to match the gtk_init_check documentation.

https://bugzilla.gnome.org/show_bug.cgi?id=771959

8 years agodocs: gtk_init_check will also fail if the commandline was invalid
Debarshi Ray [Fri, 21 Jul 2017 15:16:12 +0000 (17:16 +0200)]
docs: gtk_init_check will also fail if the commandline was invalid

The existing documentation seems to suggest that gtk_init_check will
ignore any failure to parse the commandline arguments, and that its
return value only depends on its ability to initialize the windowing
system. That's not true.

Be more explicit to avoid misunderstandings.

https://bugzilla.gnome.org/show_bug.cgi?id=771959

8 years agoAccelLabel: set_accel_closure() arg is nullable
Daniel Boles [Mon, 7 Aug 2017 09:32:13 +0000 (10:32 +0100)]
AccelLabel: set_accel_closure() arg is nullable

8 years agoAccelLabel: set_accel_widget() arg is nullable
Daniel Boles [Mon, 7 Aug 2017 09:27:52 +0000 (10:27 +0100)]
AccelLabel: set_accel_widget() arg is nullable

8 years agoUpdated Slovenian translation
Matej Urbančič [Mon, 7 Aug 2017 07:13:06 +0000 (09:13 +0200)]
Updated Slovenian translation

8 years agoHeaderBar: Use less clashing appmenu fallback icon
Daniel Boles [Sun, 6 Aug 2017 17:03:27 +0000 (18:03 +0100)]
HeaderBar: Use less clashing appmenu fallback icon

process-stop-symbolic is unintuitive if represented as a stop sign as in
Adwaita, and completely ambiguous if represented as a cross like the
window close button in other icon themes.

Instead, use application-x-executable, which is already used elsewhere
as a fallback if no specific icon can be found for the application.

https://bugzilla.gnome.org/show_bug.cgi?id=784624

8 years agodocs: gtk/running: Document the GTK_CSD env var
Daniel Boles [Sun, 6 Aug 2017 16:42:17 +0000 (17:42 +0100)]
docs: gtk/running: Document the GTK_CSD env var

It was not documented before.

https://bugzilla.gnome.org/show_bug.cgi?id=778791#c1

8 years agoAccelLabel: Fix typos of Ctl to Ctrl
Daniel Boles [Sun, 6 Aug 2017 16:35:07 +0000 (17:35 +0100)]
AccelLabel: Fix typos of Ctl to Ctrl

8 years agoicon-browser: Add missing document-edit icon
Daniel Boles [Sun, 6 Aug 2017 02:24:04 +0000 (03:24 +0100)]
icon-browser: Add missing document-edit icon

https://bugzilla.gnome.org/show_bug.cgi?id=777515

8 years agogdkdisplay: Remove a pointless assignment
Daniel Boles [Sun, 6 Aug 2017 00:11:34 +0000 (01:11 +0100)]
gdkdisplay: Remove a pointless assignment

8 years agoEnough with the beeping!
Matthias Clasen [Sat, 5 Aug 2017 23:31:52 +0000 (19:31 -0400)]
Enough with the beeping!

Don't beep when modifiers are released in entries.
This was an inadvertent change that snuck in with
the emoji support.

Also, don't beep while entering an emoji name.
There is entirely too much beeping here.

8 years agoAccelLabel: Fix displaying accel unichars >= 0x80
Daniel Boles [Sat, 5 Aug 2017 19:21:28 +0000 (20:21 +0100)]
AccelLabel: Fix displaying accel unichars >= 0x80

In GTK+ 2, the ch < 0x80 was ORd with klass->latin1_to_char, and that
was unconditionally set to TRUE in the class init function, so
effectively the ch < 0x80 never mattered before or served any purpose.

When klass->latin1_to_char was deleted from the class in commit
f760538f17673c5bd7fec792be2f1abf8148fc32, this check’s sense changed.

The resuls was that accel keyvals with gunichar value >= 0x80 stopped
being rendered as symbols, instead falling back to their keysym name.
Instead of recognisable symbols for these, we get raw, often obscure,
and untranslatable keysym names. This breaks accessibility as well as
client users who may be parsing such accels and migrating from GTK+ 2.

So, remove the < 0x80 to restore the behaviour from before said commit.

https://bugzilla.gnome.org/show_bug.cgi?id=783906

8 years agoAdd support for entering emoji by name
Matthias Clasen [Fri, 4 Aug 2017 04:54:15 +0000 (00:54 -0400)]
Add support for entering emoji by name

This commit adds some basic support for entering emoji by name
to GtkIMContextSimple. To begin an emoji sequence, use Ctrl-Shift-e
instead of Ctrl-Shift-u that is used for hex input. Otherwise, the
behavior is the same: you can can let go of the modifier keys and
end the sequence with space or enter, or hold on to the modifier
keys and end the sequence by releasing them.

Only a limited, fixed set of names is supported at this time, see
the GtkIMContextSimple docs for a full list.

8 years agolevelbar: Don't underallocate block widgets
Timm Bäder [Thu, 29 Jun 2017 13:28:47 +0000 (15:28 +0200)]
levelbar: Don't underallocate block widgets

https://bugzilla.gnome.org/show_bug.cgi?id=783649

8 years agoWindow: Also quote Window address in Popover error
Daniel Boles [Thu, 3 Aug 2017 20:09:25 +0000 (21:09 +0100)]
Window: Also quote Window address in Popover error

This is symmetrical with how we already do that for the Popover, and it
could be useful for debugging.

8 years agowidget-factory: Add tooltip to Entry icon
Daniel Boles [Thu, 3 Aug 2017 19:42:54 +0000 (20:42 +0100)]
widget-factory: Add tooltip to Entry icon

just to show we can.

8 years agoFix some nullable Returns annotations
Daniel Boles [Thu, 3 Aug 2017 19:26:18 +0000 (20:26 +0100)]
Fix some nullable Returns annotations

based on reports and patches by Iñaki García Etxebarria:

https://bugzilla.gnome.org/show_bug.cgi?id=781246
https://bugzilla.gnome.org/show_bug.cgi?id=785423